package com.firestone.bean.entity.elasticsearch.nested;

import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * @author dingjc
 * @Description：TODO(能力范围-认可的授权签字人及领域)
 * @date 2018年04月18日  上午 11:16
 */
public class AuthorizedSignatoryAndArea {

    /**
     *  authorized_introduction:TODO(说明)
     */
    @Field(type = FieldType.text, analyzer = "ik_max_word")
    private String authorized_introduction;

    /**
     *  authorized_signature_area:TODO(授权签字领域)
     */
    @Field(type = FieldType.text, analyzer = "ik_max_word")
    private String authorized_signature_area;

    /**
     *  deadline:TODO(截至日期)
     */
    @Field(type = FieldType.Date,format = DateFormat.date,pattern = "yyyy-MM-dd")
    private String deadline;

    /**
     *  name:TODO(姓名)
     */
    @Field(type = FieldType.keyword)
    private String name;

    public String getAuthorized_introduction() {
        return authorized_introduction;
    }

    public void setAuthorized_introduction(String authorized_introduction) {
        this.authorized_introduction = authorized_introduction;
    }

    public String getAuthorized_signature_area() {
        return authorized_signature_area;
    }

    public void setAuthorized_signature_area(String authorized_signature_area) {
        this.authorized_signature_area = authorized_signature_area;
    }

    public String getDeadline() {
        return deadline;
    }

    public void setDeadline(String deadline) {
        this.deadline = deadline;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
